const bankgroundModeles = require.context('/src/assets/bg', true, /.(jpg|png|jpeg)$/)
export const directives = bankgroundModeles.keys().reduce((modules, modulePath) => {
  const value = bankgroundModeles(modulePath)
  let obj = {
    imgUrl: value
  }
  modules.push(obj)
  return modules
}, [])